package com.abcd

import android.annotation.SuppressLint
import android.app.Application
import android.os.Environment
import com.abcd.download.DownloadReactPackage
import com.abcd.interceptor.CustomMainReactPackage
import com.abcd.toast.ToastExampleReactPackage
import com.facebook.react.ReactApplication
import com.facebook.react.ReactNativeHost
import com.facebook.react.ReactPackage
import com.facebook.soloader.SoLoader
import org.pgsqlite.SQLitePluginPackage
import java.util.*

/**
 * App入口
 * Created by mazaiting on 2018/6/6.
 */

class MainApplication : Application() {
  
  companion object {
     @SuppressLint("StaticFieldLeak")
     lateinit var INSTANCE: Application
  }

  
  override fun onCreate() {
    super.onCreate()
    INSTANCE = this
    SoLoader.init(this, /* native exopackage */ false)
  }
}
